//
//  StyleControl.h
//  whopaidforit
//
//  Created by Hoang Vu on 1/25/13.
//  Copyright (c) 2013 Hoang Vu. All rights reserved.
//

#import <Foundation/Foundation.h>
#import <QuartzCore/QuartzCore.h>
#import "Event.h"
#import "Helper.h"
@interface StyleControl : NSObject
+(void)background:(id)view;
+(void)setPersonalStyle:(id)sender BackgroundHeader:(int)bg;
+(UIButton*)makeButton:(NSString*)title andFont:(UIFont*) font andColor:(UIColor*)color andImage:(UIImage*)image andBackground:(UIImage*) backgroundImage andHightlightBackground:(UIImage*)hoverImage;
+(void) drawLine:(id)sender PositionX:(int)x PositionY:(int)y Width:(int)width;
+(UIButton*)makePersonalBarButton;
+ (void) setLabelStyle:(UILabel *) label andText:(NSString *) text andTextAlignment:(NSString *) textalignment andFont:(UIFont *) font andTextColor:(UIColor *) textcolor andBackgroundColor:(UIColor *) backgroundcolor andShadowColor:(UIColor *) shadowcolor andShadowOffset:(CGSize) shadowoffset;
+(void )naviStyle :(UIView *)view andTitle: (NSString *)title andColor :(NSInteger)flagColor andleftButton :(UIButton *)left andRightButton :(UIButton *)right borderLeft:(int)bleft borderRight:(int)bright;
+(NSString*) formatCurrency:(NSString*) string addCurency:(BOOL)currency;
+(void) setViewStyle:(UIView *) view;
+(void) setBorderStyle:(UIImageView *) view;
+(void) setPriceStyle:(UILabel *) view Price:(double)price;
+(void) setPriceStyle:(UILabel *) view;
+(void) setPriceStyleTextField:(UITextField *) view;
+(void) setDateStyle:(UILabel *) view;
+(void) setDateStyleTextField:(UITextField *) view;
@end
